@extends('admin.base')
	@section('content')
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            <i class="fa fa-calendar"></i>
			商品类别标签管理 
          </h1>
          <ol class="breadcrumb">
            <li><a href="{{url('admin')}}"><i class="fa fa-dashboard"></i> 首页</a></li>
            <li><a href="#">本类商品标签管理</a></li>
            <li class="active">修改商品标签</li>
          </ol>
        </section>

        <!-- Main content -->
        <section class="content">
          <div class="row">
            <!-- right column -->
            <div class="col-md-12">
              <!-- Horizontal Form -->
              <div class="box box-primary">
                <div class="box-header with-border">
                  <h3 class="box-title"><i class="fa fa-plus"></i> 修改本类商品标签</h3>
                </div><!-- /.box-header -->
                <!-- form start -->
                <form class="form-horizontal" method="post" action='{{url("admin/pag/$list->id")}}'  enctype="multipart/form-data">
				  <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
				  <input type="hidden" name="_method" value="put">
				  <input type="hidden" name="id" value="{{$list->id}}"/>
				  <input type="hidden" name="gid" value="{{$list->gid}}"/>
				  <div class="box-body">
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">标签名称</label>
                      <div class="col-sm-4">
                        <input type="text" class="form-control" value="{{$list->name}}" name="name">
                      </div>
                    </div>					
                  </div>
                  <div class="box-body">
                    <div class="form-group">
                      <label for="inputEmail3" height="5px" class="col-sm-2 control-label">标签值</label>
                      <div class="col-sm-4">
						<textarea name="values" class="form-control" cols="52" rows="10" style="resize:none " >{{$list->values}}
						</textarea>
                      </div>
                    </div>					
                  </div>
				  <div class="box-body">
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">提示</label>
                      <div class="col-sm-4">
                        <h5>（标签值之间请用顿号隔开！！）</h5>
                      </div>
                    </div>					
                  </div><!-- /.box-body -->
                  <div class="box-footer">
				    <div class="col-sm-offset-2 col-sm-1">
						<button type="submit" class="btn btn-primary">修改</button>
                    </div>
					<div class="col-sm-1">
						<button type="reset"  class="btn btn-primary">重置</button>
					</div>
                  </div><!-- /.box-footer -->
                </form>
				<div class="row"><div class="col-sm-12">&nbsp;</div></div>
              </div><!-- /.box -->
            </div><!--/.col (right) -->
          </div>   <!-- /.row -->
        </section><!-- /.content -->
    @endsection